% 1 - ορισμός. Τι είναι το strongly typed languages
Diclib.com
Διαδικτυακό λεξικό

Τι (ποιος) είναι strongly typed languages - ορισμός

DATA TYPE WHOSE DEFINITION DEPENDS ON A VALUE
Dependent types; Dependent type theory; Dependent typing; Dependently-typed; Dependently typed; ΛΠ-calculus; Dependently typed language; Dependently-typed language; Dependently-typed programming language; Dependently typed programming language; Dependently typed programming; Sigma type; Comparision of programming languages with dependent types; Comparison of dependently typed programming languages; Type-level programming; List of dependently-typed programming languages

strongly typed         
PROGRAMMING LANGUAGE TYPE SYSTEMS
Strongly typed languages; Strongly typed language; Strong typing; Weakly-typed programming language; Strongly-typed (programming language); Strongly-typed programming languages; Weakly-typed programming languages; Strongly-typed (programming languages); Strongly-typed; Strongly typed; Weakly-typed (programming languages); Weakly-typed; Weakly typed; Weak typing; Strong type; Strong data typing; Loose typing; Strongly-typed programming language; Strongly typed programming language; Type strength; Weak and Strong typing; Loosely-typed; Weakly typed language; Loosely typed; Strictly typed
strong typing         
PROGRAMMING LANGUAGE TYPE SYSTEMS
Strongly typed languages; Strongly typed language; Strong typing; Weakly-typed programming language; Strongly-typed (programming language); Strongly-typed programming languages; Weakly-typed programming languages; Strongly-typed (programming languages); Strongly-typed; Strongly typed; Weakly-typed (programming languages); Weakly-typed; Weakly typed; Weak typing; Strong type; Strong data typing; Loose typing; Strongly-typed programming language; Strongly typed programming language; Type strength; Weak and Strong typing; Loosely-typed; Weakly typed language; Loosely typed; Strictly typed
<programming> Strict enforcement of type rules with no exceptions. Incorrect type usage can be detected either at run time or at compile time. Strong typing catches more type errors than weak typing, resulting in fewer hard errors. In a strongly typed language, conversion between types requires the use of explicit conversion functions as opposed to implicit type coercion. Typing strength is a continuum; ML is more strongly typed than Java, which is more strongly typed than C. Strong or weak typing is independent of the choice between static typing and dynamic typing. Among strongly typed languages, Ada, Java, Haskell and ML are statically typed, whereas Python and Ruby are dynamically typed. (2004-07-20)
weakly typed         
PROGRAMMING LANGUAGE TYPE SYSTEMS
Strongly typed languages; Strongly typed language; Strong typing; Weakly-typed programming language; Strongly-typed (programming language); Strongly-typed programming languages; Weakly-typed programming languages; Strongly-typed (programming languages); Strongly-typed; Strongly typed; Weakly-typed (programming languages); Weakly-typed; Weakly typed; Weak typing; Strong type; Strong data typing; Loose typing; Strongly-typed programming language; Strongly typed programming language; Type strength; Weak and Strong typing; Loosely-typed; Weakly typed language; Loosely typed; Strictly typed

Βικιπαίδεια

Dependent type

In computer science and logic, a dependent type is a type whose definition depends on a value. It is an overlapping feature of type theory and type systems. In intuitionistic type theory, dependent types are used to encode logic's quantifiers like "for all" and "there exists". In functional programming languages like Agda, ATS, Coq, F*, Epigram, and Idris, dependent types help reduce bugs by enabling the programmer to assign types that further restrain the set of possible implementations.

Two common examples of dependent types are dependent functions and dependent pairs. The return type of a dependent function may depend on the value (not just type) of one of its arguments. For instance, a function that takes a positive integer n {\displaystyle n} may return an array of length n {\displaystyle n} , where the array length is part of the type of the array. (Note that this is different from polymorphism and generic programming, both of which include the type as an argument.) A dependent pair may have a second value the type of which depends on the first value. Sticking with the array example, a dependent pair may be used to pair an array with its length in a type-safe way.

Dependent types add complexity to a type system. Deciding the equality of dependent types in a program may require computations. If arbitrary values are allowed in dependent types, then deciding type equality may involve deciding whether two arbitrary programs produce the same result; hence the decidability of type checking may depend on the given type theory's semantics of equality, that is, whether the type theory is intensional or extensional.